// SoapInterface.h : Declaration of the CSoapInterface

#ifndef __SOAPINTERFACE_H_
#define __SOAPINTERFACE_H_

#include "resource.h"       // main symbols

/////////////////////////////////////////////////////////////////////////////
// CSoapInterface
class ATL_NO_VTABLE CSoapInterface : 
	public CComObjectRootEx<CComSingleThreadModel>,
	public CComCoClass<CSoapInterface, &CLSID_SoapInterface>,
	public IDispatchImpl<ISoapInterface, &IID_ISoapInterface, &LIBID_SOAPSERVERLib>
{
public:
	CSoapInterface()
	{
	}

DECLARE_REGISTRY_RESOURCEID(IDR_SOAPINTERFACE)

DECLARE_PROTECT_FINAL_CONSTRUCT()

BEGIN_COM_MAP(CSoapInterface)
	COM_INTERFACE_ENTRY(ISoapInterface)
	COM_INTERFACE_ENTRY(IDispatch)
END_COM_MAP()

// ISoapInterface
public:
	STDMETHOD(UserSyncAuth)(/*[in]*/BSTR UserName, /*[in]*/BSTR Password, /*[out,retval]*/long *ret);
};

#endif //__SOAPINTERFACE_H_
